package cn.ickck.law_paper_final.model.entity;

import java.util.Date;

/**
 * @Author: ck
 * @Description:
 * @Date: Create in 17:36 2021/1/17
 */
public class DateInitial {
    private Date date;
    private String name = "name";

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        if(date==null)
        {
            System.out.println("null+++++");
            this.date = new Date(300,4,20);
        }
        else {
            System.out.println("date"+"+++++++++");
            this.date =date;

        }





    }
}
